package kandl.automation.steprunner.selenium.commands;

import kandl.automation.steprunner.selenium.Command;

import org.openqa.selenium.WebDriver;
import org.springframework.stereotype.Component;

@Component
class WaitTime implements Command {
    @Override
    public void runCommand(WebDriver driver, String... params) throws Exception {
        Thread.sleep(3000);
    }

    @Override
    public String getName() {
        return "wait_time";
    }
}
